<div class="form-row layout-spacing">
    <div class="col-12">
        <label for="domainName" class="text-info">Engine name</label>
        {{ form.engine_name }}
    </div>
</div>
<div class="form-row layout-spacing">
    <table>
        <tr>
            <td>
                <h6 style="margin-right:1%">Subdomain Discovery</h6>
                <span class="preview">(Selected by Default)</span>
            </td>
            <td>
                <label class="switch s-icons s-outline s-outline-info">
                    {{form.subdomain_discovery}}
                    <span class="slider round"></span>
                </label>
            </td>
        </tr>
        <tr>
            <td>
                <h6 style="margin-right:1%">Port Scan</h6>
            </td>
            <td>
                <label class="switch s-icons s-outline s-outline-info">
                    {{form.port_scan}}
                    <span class="slider round"></span>
                </label>
            </td>
        </tr>
        <tr>
            <td>
                <h6 style="margin-right:1%">Subdomain Takeover</h6>
            </td>
            <td>
                <label class="switch s-icons s-outline s-outline-info">
                    {{form.subdomain_takeover}}
                    <span class="slider round"></span>
                </label>
            </td>
        </tr>
        <tr>
            <td>
                <h6 style="margin-right:1%">Directory and Files Search</h6>
            </td>
            <td>
                <label class="switch s-icons s-outline s-outline-info">
                    {{form.dir_file_search}}
                    <span class="slider round"></span>
                </label>
            </td>
        </tr>
        <tr>
            <td>
                <h6 style="margin-right:1%">Fetch All Endpoints(URLs)</h6>
                <span class="preview">(Open Threat Exchange, Wayback Machine <br>Common Crawl)</span>
            </td>
            <td>
                <label class="switch s-icons s-outline s-outline-info">
                    {{form.fetch_url}}
                    <span class="slider round"></span>
                </label>
            </td>
        </tr>
    </table>
</div>
<h4>Configurations</h4>
<p>
    reNgine supports YAML based configurations for customizing the scan. The default settings are given below, you may choose to proceed with the default settings or configure it according to your choice.
</p>
<p class="mt-2 text-danger">
    Note: Invalid YAML configuration may crash scans.
    <br>
    <span class="text-uppercase">Please, do not modify the configuration if you are not sure what you are doing.</span>
    <br>
    <span class="text-danger">If default YAML configuration doesn't automatically load, download default configuration and paste here <a href="https://raw.githubusercontent.com/yogeshojha/rengine/master/tools/default_settings.yaml" class="text-info" target="_blank">https://raw.githubusercontent.com/yogeshojha/rengine/master/tools/default_settings.yaml</a> </span>
</p>
<div class="col-12">
    {{form.yaml_configuration}}
</div>
